
package com.hlkj.pay.vo.ad.req;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

import com.hlkj.pay.vo.BaseReq;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * ad订单退款信息表
 * 
 * @TableName t_ad_order_refund
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class AdSubmitOrderReq extends BaseReq {

    /**
     * 广告id
     */
    @Schema(description = "广告id")
    @NotNull(message = "广告id 不能为空")
    private Long adId;

    /**
     * 广告id
     */
    @Schema(description = "支付方式 1:微信 2:支付宝 3:京东白条")
    @NotNull(message = "支付方式 不能为空")
    @Max(value = 3, message = "支付方式不正确")
    @Min(value = 1, message = "支付方式不正确")
    private Integer payType;

    @Schema(description = "手机号 话费必填")
    private String phone;
    @Schema(description = "tuiId")
    private String tuiId;

    @Schema(description = "跳转地址")
    private String returnUrl;
}
